.preview {
  padding: 24px;
  background-color: #f7f7f7;
  min-height: 100vh;
  box-sizing: border-box;

  .header {
    margin-bottom: 20px;

    .title {
      font-size: 20px;
      font-weight: bold;
      text-align: center;
    }
  }

  .image-preview {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

    image {
      width: 100%;
      border: 1px solid #ddd;
      border-radius: 4px;
    }

    .loading-message {
      padding: 40px 20px;
      text-align: center;
      color: #999;
      font-size: 16px;
    }
  }

  .action-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .btn {
    flex: 1;
    margin: 0 5px;
  }

  .back-btn {
    background-color: #999 !important;
    color: white !important;
  }

  .save-btn {
    background-color: #2196F3 !important;
    color: white !important;
  }

  .hidden-canvas {
    position: absolute;
    left: -9999px;
    top: -9999px;
  }
}
